package com.hilinos.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hilinos.common.util.ServletUtils;
import io.swagger.annotations.ApiModelProperty;

public class BaseEntity {

    public BaseEntity() {
        this.appid = ServletUtils.getAppid();
    }

    @ApiModelProperty(value = "平台id", readOnly = true, hidden = true)
    @TableField("appid")
    private final String appid;

    public String getAppid() {
        return appid;
    }
}
